package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Desc: 设备签到VO
 * @author: zhouyijian
 * @Time: 2019/7/26 14:54
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Data
public class DeviceSignVO implements Serializable {

    private static final long serialVersionUID = -6733713499444057508L;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("日期")
    private Date dateTime;

    @ApiModelProperty("已签设备数")
    private Integer signTotal;

    @ApiModelProperty("未签设备数")
    private Integer unSignTotal;

    @ApiModelProperty("合计")
    private Integer totalCount;

    @Excel(name = "IMEI", orderNum = "1")
    @ApiModelProperty("设备imei")
    private String imei;

    @Excel(name = "SN", orderNum = "2")
    @ApiModelProperty("设备sn")
    private String sn;

    @ApiModelProperty("机构表ID")
    private Integer orgId;

    @ApiModelProperty("分组Id")
    private Integer groupId;

    @Excel(name = "分组", orderNum = "4")
    @ApiModelProperty("分组名")
    private String groupName;

    @Excel(name = "机构", orderNum = "3")
    @ApiModelProperty("机构名")
    private String orgName;

    @Excel(name = "签到时间", orderNum = "5")
    @ApiModelProperty("签到时间")
    private Date signTime;

    @Excel(name = "离线时间", orderNum = "8")
    @ApiModelProperty("离线时间")
    private Date offTime;

    @Excel(name = "签到经度", orderNum = "6")
    @ApiModelProperty("经度")
    private String longitude;

    @Excel(name = "签到纬度", orderNum = "7")
    @ApiModelProperty("纬度")
    private String latitude;

    @Excel(name = "在线时长(H)", orderNum = "9")
    @ApiModelProperty("在线时长")
    private Date onlineTime;
}
